﻿
namespace Main.Substructure
{
    /// <summary>
    /// This class contains variables pertaining to specific information such as file paths and other data.
    /// </summary>
    public class Configuration
    {
        public readonly string DATA_PATH, CLIENT_PATH, APPOINTMENT_PATH;

        /// <summary>
        /// The class constructor.
        /// Takes the appPath and assigns any file paths from that value.
        /// </summary>
        /// <param name="appPath">The file path that this application was ran from.</param>
        public Configuration(string appPath)
        {
            DATA_PATH = appPath + @"\Data\";
            CLIENT_PATH = DATA_PATH + @"\Clients\";
            APPOINTMENT_PATH = DATA_PATH + @"\Appointments\";
        }
    }
}
